package com.business.exam.mapper;

import com.business.common.core.domain.entity.SysUser;
import com.business.exam.domain.ExamPaperModel;
import com.business.exam.domain.exam.ExamManageModel;
import com.business.exam.domain.exam.ExamManageUserModel;
import com.business.student.domain.PaperFilter;
import com.business.student.domain.PaperInfo;

import java.util.List;
import java.util.Map;

public interface ExamManageMapper {

    /**
     * 插入数据
     *
     * @param dto
     */
    public void insertData(ExamManageModel dto);

    /**
     * 查询列表
     *
     * @param dto
     * @return
     */
    public List<ExamManageModel> selectPageList(ExamManageModel dto);


    /**
     * 查询列表
     *
     * @param dto
     * @return
     */
    public ExamManageModel selectDataById(ExamManageModel dto);


    /**
     * 更新数据
     *
     * @param dto
     */
    public void updateData(ExamManageModel dto);

    /**
     * 查询列表
     *
     * @param dto
     * @return
     */
    public List<SysUser> selectExamUserList(ExamManageUserModel dto);


    /**
     * @param dto
     * @return
     */
    public ExamManageUserModel existsExamUserData(ExamManageUserModel dto);

    /**
     * 插入考试人员
     *
     * @param dto
     * @return
     */
    public void insertExamUserData(ExamManageUserModel dto);

    /**
     * 更新考试人员
     *
     * @param dto
     * @return
     */
    public void updateExamUserData(ExamManageUserModel dto);


    /**
     * 查询列表
     *
     * @return
     */
    public List<SysUser> selectExamUserListById(List<String> ids);

    /**
     * 删除数据
     *
     * @return
     */
    public int deleteById(ExamManageModel dto);
}
